Skip to content

Comments

Automated documentation updates#436

Merged
4ian merged 8 commits intomainfrom
cursor/automated-documentation-updates-235d
Feb 16, 2026
Merged

Automated documentation updates#436
4ian merged 8 commits intomainfrom
cursor/automated-documentation-updates-235d

Conversation

@4ian
Copy link
Contributor

@4ian 4ian commented Feb 15, 2026

Add GitHub Actions and scripts to automate GDevelop documentation updates from recent commits and continuous improvements using AI.


Open in Cursor Open in Web

cursoragent and others added 3 commits February 15, 2026 20:27
- automated_updates_data.json: tracks last processed commit and past improvements
- scripts/update-docs-from-commits.js: analyses recent GDevelop commits and
  invokes Claude Code (or Codex) to update docs accordingly
- scripts/improve-docs.js: picks a new documentation area to improve each run,
  tracks what was improved so future runs don't repeat
- scripts/package.json: minimal package manifest for the scripts folder

Co-authored-by: Florian Rival <4ian@users.noreply.github.com>
- update-docs-from-commits.yml: runs daily at 08:00 UTC (+ manual trigger),
  clones GDevelop, analyses recent commits, and opens a PR with doc updates
- improve-docs.yml: runs daily at 10:00 UTC (+ manual trigger),
  picks a new documentation area to improve and opens a PR
- Both default to Claude Code; switching to Codex requires uncommenting
  a few clearly marked lines

Co-authored-by: Florian Rival <4ian@users.noreply.github.com>
…y.txt

Co-authored-by: Florian Rival <4ian@users.noreply.github.com>
@cursor
Copy link

cursor bot commented Feb 15, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@vercel
Copy link

vercel bot commented Feb 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gdevelop-wiki Ready Ready Preview, Comment Feb 16, 2026 9:29am

Request Review

- Add 'pull_request' to 'on:' in both workflows so they run on PRs
- Set 'base: main' in peter-evans/create-pull-request to fix the
  'base input must be supplied' error on detached-HEAD checkouts
- Capture and print AI agent stdout so output is visible in CI logs

Co-authored-by: Florian Rival <4ian@users.noreply.github.com>
- automated_updates_data.json: format empty array with newline for
  cleaner diffs when entries are added
- improve-docs.js: AI now edits automated_updates_data.json directly
  (adds to last_improved_things) instead of writing improvement_summary.txt;
  script reads back the new entry and writes summary to /tmp/ai_summary.txt
- update-docs-from-commits.js: prompt now asks for a brief summary;
  script writes AI output to /tmp/ai_summary.txt and commit log to
  /tmp/commit_log.txt; uses writeDataFile helper for consistent formatting
- improve-docs.yml: reads AI summary as step output and includes it in
  the PR body ('The AI agent summary is:')
- update-docs-from-commits.yml: reads AI summary + commit log as step
  outputs and includes both in the PR body
- .gitignore: remove unused improvement_summary.txt entry

Co-authored-by: Florian Rival <4ian@users.noreply.github.com>
Replaces fixed SUMMARY_EOF/COMMITS_EOF delimiters with randomized ones
(EOF_<random hex>) and adds an extra blank line before the closing
delimiter to ensure GitHub parses the multiline output correctly.

Co-authored-by: Florian Rival <4ian@users.noreply.github.com>
@4ian 4ian merged commit 28402a5 into main Feb 16, 2026
2 of 4 checks passed
@4ian 4ian deleted the cursor/automated-documentation-updates-235d branch February 16, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants